package com.kanche.bigbaby.collection.domain;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by zhangsl on 15/3/5.
 */
public class Merchant implements Serializable {
    private String id;
    private String merchantType;
    private String name;
    private String logo;
    private String addressText;
    private String comment;
    private Address address;
    private Location location;
    private Gallery gallery;
    private Assistance assistance;
    private List<OwnerShip> ownership = new ArrayList<>();
    private List<MerchantUser> merchantUsers = new ArrayList<>();
    private User user;
    private List<Contacts> contacts = new ArrayList<>();
    private String phone;
    private String level;

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public List<Contacts> getContacts() {
        return contacts;
    }

    public void setContacts(List<Contacts> contacts) {
        this.contacts = contacts;
    }

    public class Contacts implements Serializable {
        private String name;
        private String phone;
        private String gender;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getGender() {
            return gender;
        }

        public void setGender(String gender) {
            this.gender = gender;
        }
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getMerchantType() {
        return merchantType;
    }

    public void setMerchantType(String merchantType) {
        this.merchantType = merchantType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getAddressText() {
        return addressText;
    }

    public void setAddressText(String addressText) {
        this.addressText = addressText;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }

    public Location getLocation() {
        return location;
    }

    public void setLocation(Location location) {
        this.location = location;
    }

    public Gallery getGallery() {
        return gallery;
    }

    public void setGallery(Gallery gallery) {
        this.gallery = gallery;
    }

    public Assistance getAssistance() {
        return assistance;
    }

    public void setAssistance(Assistance assistance) {
        this.assistance = assistance;
    }

    public List<OwnerShip> getOwnership() {
        return ownership;
    }

    public void setOwnership(List<OwnerShip> ownership) {
        this.ownership = ownership;
    }

    public List<MerchantUser> getMerchantUsers() {
        return merchantUsers;
    }

    public void setMerchantUsers(List<MerchantUser> merchantUsers) {
        this.merchantUsers = merchantUsers;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public class Gallery implements Serializable {
        private String id;
        private String userId;
        private List<Photo> photos = new ArrayList<>();

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public List<Photo> getPhotos() {
            return photos;
        }

        public void setPhotos(List<Photo> photos) {
            this.photos = photos;
        }
    }

    public class Assistance implements Serializable {
        private WeiDian weidian;
        private SubstituteUser substitute;
        private List<String> tags = new ArrayList<>();

        public WeiDian getWeidian() {
            return weidian;
        }

        public void setWeidian(WeiDian weidian) {
            this.weidian = weidian;
        }

        public SubstituteUser getSubstitute() {
            return substitute;
        }

        public void setSubstitute(SubstituteUser substitute) {
            this.substitute = substitute;
        }

        public List<String> getTags() {
            return tags;
        }

        public void setTags(List<String> tags) {
            this.tags = tags;
        }
    }

    public class WeiDian implements Serializable {
        private boolean enabled;
        private String name;

        public boolean isEnabled() {
            return enabled;
        }

        public void setEnabled(boolean enabled) {
            this.enabled = enabled;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }

    public class MerchantUser implements Serializable {
        private String id;
        private String mobile;
        private String inviteMobile;
        private String name;
        private String gender;
        private String publicPhone;
        private boolean enabled;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getInviteMobile() {
            return inviteMobile;
        }

        public void setInviteMobile(String inviteMobile) {
            this.inviteMobile = inviteMobile;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getGender() {
            return gender;
        }

        public void setGender(String gender) {
            this.gender = gender;
        }

        public String getPublicPhone() {
            return publicPhone;
        }

        public void setPublicPhone(String publicPhone) {
            this.publicPhone = publicPhone;
        }

        public boolean isEnabled() {
            return enabled;
        }

        public void setEnabled(boolean enabled) {
            this.enabled = enabled;
        }
    }

    public class User implements Serializable {
        private String id;
        private String mobile;
        private String username;
        private String email;
        private String name;
        private String avatar;
        private String gender;
        private String publicPhone;
        private boolean enabled;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getGender() {
            return gender;
        }

        public void setGender(String gender) {
            this.gender = gender;
        }

        public String getPublicPhone() {
            return publicPhone;
        }

        public void setPublicPhone(String publicPhone) {
            this.publicPhone = publicPhone;
        }

        public boolean isEnabled() {
            return enabled;
        }

        public void setEnabled(boolean enabled) {
            this.enabled = enabled;
        }
    }

    public class OwnerShip implements Serializable {
        private boolean occupied;
        private Owner owner;
        private String category;
        private String time;

        public boolean isOccupied() {
            return occupied;
        }

        public void setOccupied(boolean occupied) {
            this.occupied = occupied;
        }

        public Owner getOwner() {
            return owner;
        }

        public void setOwner(Owner owner) {
            this.owner = owner;
        }

        public String getCategory() {
            return category;
        }

        public void setCategory(String category) {
            this.category = category;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public class Owner implements Serializable {
            private String id;
            private String mobile;
            private String username;
            private String email;
            private String name;
            private String avatar;
            private String publicPhone;
            private String companyName;
            private String companyAddress;
            private Address address;
            private String userType;
            private UserGroup userGroup;
            private boolean enabled;
            private String createAt;
            private String updateAt;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }

            public String getEmail() {
                return email;
            }

            public void setEmail(String email) {
                this.email = email;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public String getPublicPhone() {
                return publicPhone;
            }

            public void setPublicPhone(String publicPhone) {
                this.publicPhone = publicPhone;
            }

            public String getCompanyName() {
                return companyName;
            }

            public void setCompanyName(String companyName) {
                this.companyName = companyName;
            }

            public String getCompanyAddress() {
                return companyAddress;
            }

            public void setCompanyAddress(String companyAddress) {
                this.companyAddress = companyAddress;
            }

            public Address getAddress() {
                return address;
            }

            public void setAddress(Address address) {
                this.address = address;
            }

            public String getUserType() {
                return userType;
            }

            public void setUserType(String userType) {
                this.userType = userType;
            }

            public UserGroup getUserGroup() {
                return userGroup;
            }

            public void setUserGroup(UserGroup userGroup) {
                this.userGroup = userGroup;
            }

            public boolean isEnabled() {
                return enabled;
            }

            public void setEnabled(boolean enabled) {
                this.enabled = enabled;
            }

            public String getCreateAt() {
                return createAt;
            }

            public void setCreateAt(String createAt) {
                this.createAt = createAt;
            }

            public String getUpdateAt() {
                return updateAt;
            }

            public void setUpdateAt(String updateAt) {
                this.updateAt = updateAt;
            }

        }

    }

}
